﻿using UnityEngine;
using UnityEngine.UI;

/// <summary>
/// HK_Dropdown对应按钮音效事件注册示例
/// </summary>
public class HK_DropdownAudioExample : MonoBehaviour
{
    void Start()
    {
        HK_Dropdown.pressDefaultAudio_Event += PlayPressDefaultAudio;
        HK_Dropdown.selectDefaultAudio_Event += SelectDefaultAudio;
    }

    void PlayPressDefaultAudio()
    {
        Debug.Log("Play Press DefaultAudio");
    }

    void SelectDefaultAudio()
    {
        Debug.Log("Play Select DefaultAudio");
    }
}
